import { RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [
  {
    path: '/',
    component: () => import('layouts/MainLayout.vue'),
    children: [
      {
        path: '',
        component: () => import('pages/main/IndexPage.vue'),
        alias: ['/index', '/index.html'],
      },
      {
        path: 'explore',
        component: () => import('pages/main/ExplorePage.vue'),
      },
    ],
  },
  {
    path: '/:pathMatch(.*)',
    component: () => import('pages/NotFoundPage.vue'),
  },
]

export default routes
